//
//  SSTInitFactory.m
//  IOS_SST
//
//  Created by jiahua on 16/4/18.
//  Copyright © 2016年 secsmarts. All rights reserved.
//
#import "SSTInitFactory.h"
#import "sstNSStringFormat.h"
#include "Define.h"
#include "DeviceManager.h"

@implementation SSTInitFactory

+(void)setSession:(NSString *)sessionID withDeviceIDs:(NSArray *)deviceIDs{
    //1、需要直接向云端请求
   [[DeviceManager Instance] setSession: sessionID withDeviceIDs: deviceIDs];
}

+(void)setWIFIwithSSID:(NSString*)ssid withPassword:(NSString*)password{
    [[DeviceManager Instance] setWIFIwithSSID:ssid withPassword: password];
}

+(void)setDeviceInformation:(NSString *)deviceID withMac:(NSString *)mac withIP:(NSString *)ip{
//这里需要把DeviceID转换成UdpID
    [[DeviceManager Instance] setDeviceInformation: deviceID withMac: mac withIP: ip];
}

@end
